

export const componentsShapeType = {
    RECT: 'rect',
    PARALLELOGRAM: 'parallelogram',
    RHOMBOUS: 'rhombus',
    LINE: 'line',
    CIRCLE: 'circle',
    ELLIPSE: 'ellipse',
    TEXT: 'text',
    OVAL: 'oval',
    ANNULAR: 'annular',
    PENTAGON: 'pentagon',
    HEXAGON: 'hexagon',
    TRIANGLE: 'triangle',
    DIAMOND: 'diamond',
    FIVESTTAR: 'fivestar',
    FAN: 'fan',
    HEART: 'heart',
    CANVAS: 'canvas',
    BOARD: 'board',
    IMAGE: 'image',
}

export const componentShapesList = [
    { name: '矩形', icon: 'icon-rect', type: componentsShapeType.RECT },
    { name: '文本', icon: 'icon-huabigongju-wenben', type: componentsShapeType.TEXT },
    { name: '椭圆', icon: 'icon-tuoyuan', type: componentsShapeType.ELLIPSE },
    { name: '三角形', icon: 'icon-sanjiaoxing', type: componentsShapeType.TRIANGLE },
    { name: '菱形', icon: 'icon-lingxing', type: componentsShapeType.DIAMOND },
    { name: '五边形', icon: 'icon-wujiaoxing', type: componentsShapeType.FIVESTTAR },
    { name: '六边形', icon: 'icon-liujiaoxing', type: componentsShapeType.HEXAGON },
]